#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

char* MY_Strcpy(char* destination, const char* source);

int main()
{
	char arr1[10] = { 0 };
	char arr2[] = { "abcdefg" };
	MY_Strcpy(arr1, arr2);
	printf("%s\n", arr1);
	return 0;
}

char* MY_Strcpy(char* destination, const char* source)
{
	char* dest = destination;
	while (*destination++ = *source++)
	{
		;
	}
	return dest;
}